import { Table } from 'antd';

const columns=[
    {
        title: '企业名称',
        dataIndex: 'name',
        key: 'name'
    },
    {
        title: '企业合伙人',
        dataIndex: 'partner',
        key: 'partner'
    },
    {
        title: '企业创建时间',
        dataIndex: 'creation',
        key: 'creation'
    },
    {
        title: '企业地址',
        dataIndex: 'address',
        key: 'address'
    },
    {
        title: '企业描述',
        dataIndex: 'describe',
        key: 'describe'
    },
    {
        title: '企业状态',
        dataIndex: 'state',
        key: 'state'
    }
]

const data=[
    {
        key:1,
        name:'养老服务机构',
        partner:'XDD',
        creation:'2018-11-08 19:22:09',
        address:'北京市中南海',
        describe:'养老服务',
        state:'上市'
    }
]
function UserTab() {
    return <div>
        <Table columns={columns} dataSource={data} />
    </div>
}
export default UserTab;